package com.mars.ecsheet.entity;

import cn.hutool.json.JSONObject;
import lombok.Getter;
import lombok.Setter;
import org.springframework.data.annotation.Id;
import org.springframework.data.mongodb.core.mapping.Document;

import java.io.Serializable;
import java.util.Date;

/**
 * @author unibss
 * @date 2023/11/15
 * @description
 */
@Document(collection = "workbookhistory")
@Getter
@Setter
public class WorkBookHistoryEntity implements Serializable {

    @Id
    private String id;

    private String updateBy;

    private JSONObject hisData;

    private Date updateTime;

    private String version;

}
